const luckDao = require('../dao/luckDao');

const findAllLucks = async ( req, res ) => {
    try {
        const results = await luckDao.findLucks(req);
        return results;
    } catch (error) {
        console.log("error", error);
        return error;
    }
}

const findAllClassify = async ( req, res ) => {
    try {
        const results = await luckDao.findLuckClassify(req);
        return results;
    } catch (error) {
        console.log("error", error);
        return error;
    }
}
module.exports = {findAllLucks, findAllClassify};